home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Free 30
/
Commodore_Free_Issue_30_2009_Commodore_Computer_Club.d64
/
forum post
< prev
next >
Wrap
Text File
|
2023-02-26
|
4KB
|
154 lines
U
**************************************
Commodore Computer Club Forum post
**************************************
I reecived the following email from
Commodore128.org about a new 128
application:
"Clock-Calendar 128 (CC128) is now
available for downloading. See the
link at the end of this post and be
sure to read the documentation before
trying it out. Also, if you wish to
integrate CC128 with the C-128 80
Column Display
Manager (80CDM) you will need to
download the latest 80CDM version, as
the previous version is not compatible
with CC128.
Clock-Calendar 128 is a utility for
the C-128 that provides date and time
services that may be used by other
programs on an ad hoc basis. When
started, CC128 is linked into the
C-128's interrupt request (IRQ)
processing subsystem, causing the
utility to run in the background until
its services are needed. There are any
number of uses to which CC128 can be
put, such as providing date & time
services to BBS software, date & time
stamping of records in a database,
date & time stamping of entries into a
log, etc.
CC128's basic features are:
- 12 hour, AM/PM continuous time-
of-day function. All CC128 timing
functions are derived from the
hardware TOD clock in CIA #2. Unlike
the TI$ software jiffy "clock"
available in BASIC, the CIA's TOD
clock is unaffected by operating
system activities and maintains
excellent accuracy over long periods.
- Calendar with day of week, year,
month and date. CC128 can maintain
dates from January 1, 1753 to December
31, 9999, inclusive, with full leap
year compensation.
- Audible alarm. At the alarm time,
your C-128 will alert you with a
pleasant gong tone. The alarm has the
software equivalent of a "snooze bar"
- Continuously updated date & time
values. CC128 can export date & time
data into any desired location in
RAM-0 for use by your software.
- Automatic detection of NTSC and PAL
systems. Upon startup, CC128 will
determine which video system is in
use and will program the TOD clock for
the correct power line (mains)
frequency.
- Presence signature. CC128 includes a
"presence signature" that can be
tested by other programs to determine
if CC128 has been loaded into memory
and is intact..
-CC128 can interface with the C-128 80
Column Display Manager (80CDM) and
offer the following extra services:
Timed "screen saver" function. CC128
can be configured to monitor the
C-128's keyboard and turn off the 80
column display after a programmable
period of inactivity. Pressing almost
any key will turn on the display. The
inactivity period can range from one
to 32,767 seconds (more than 9 hours).
-Continuous date and time display. If
80CDM's status line has been enabled,
CC128 can be told to generate a
constantly-updating date and time
display on the right-hand end of the
status line (leaving plenty of room
for user-generated status line text).
-CC128 runs in RAM-0 underneath the
kernel ROM & consumes less than 2KB.
Data is stored in normally unused
memory at the very top of RAM-0. When
loaded and started, CC128 will adjust
the top-of-BASIC pointers to protect
itself from outsized programs.
-CC128 is a low level operating system
enhancement, & thus natively operates
at the machine language level.
Access is through a jump table similar
to the kernel ROM jump table, and date
and time inputs and outputs are given
in compressed binary-coded decimal
(BCD) format for easy manipulation and
conversion in the M/L environment.
However, BASIC programmers have not
been left out in the cold! I have also
developed CC128CTL (CC128 control,
included in the CC128 distribution) to
allow CC128 functions to be called
from BASIC, using a simple SYS calling
syntax that even a trained monkey can
understand.
If you have any questions about the
use of CC128 please peruse the
documentation. If that doesn't help
then feel free to post here. If you
are reporting what you think may be a
bug, please be as specific as possible
as to the problem. Posts that lack
adequate information or aren't germane
to the topic will be ignored.
To unsubscribe from these
announcements, login to the forum and
uncheck "Receive forum announcements
& important notifications by email"
in your profile.
You can view the full announcement by
following this link:
http://landover.no-ip.com/forums/
index.php?topic=2266.0
Regards,
The Commodore 128 Alive! Team."
Regards,
Shaun
------------------------------------